home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / unix / mp14tar.z / mp14tar / mpack / macmpack.h < prev    next >
C/C++ Source or Header  |  1994-06-01  |  3KB  |  104 lines

  1. /* mac_mpack.h -- resources for mac interface to mpack
  2.  *
  3.  * (C) Copyright 1993 by Christopher J. Newman
  4.  * All Rights Reserved.
  5.  *
  6.  * Permission to use, copy, modify, distribute, and sell this software and its
  7.  * documentation for any purpose is hereby granted without fee, provided that
  8.  * the above copyright notice appear in all copies and that both that
  9.  * copyright notice and this permission notice appear in supporting
  10.  * documentation, and that the name of Christopher J. Newman not be used in
  11.  * advertising or publicity pertaining to distribution of the software without
  12.  * specific, written prior permission.  Christopher J. Newman makes no
  13.  * representations about the suitability of this software for any purpose.  It
  14.  * is provided "as is" without express or implied warranty.
  15.  *
  16.  * CHRISTOPHER J. NEWMAN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  17.  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
  18.  * SHALL CHRISTOPHER J. NEWMAN BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  19.  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  20.  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  21.  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  22.  * OF THIS SOFTWARE.
  23.  */
  24.  
  25. #define aboutDLOG    128
  26. #define decodeDLOG    129
  27. #define encodeDLOG    130
  28. #define warnALRT    131
  29. #define errorALRT    133
  30. #define prefsDLOG    134
  31. #define dstatDLOG    135
  32.  
  33. #define prefsID        128
  34.  
  35. #define mainMBAR    128
  36.  
  37. #define textWIND    128
  38. #define helpWIND    129
  39.  
  40. #define helpTEXT    128
  41. #define helpSTYL    128
  42.  
  43. /* apple menu */
  44. #define iAbout        1
  45. #define iHelp        2
  46.  
  47. /* file menu */
  48. #define iEncode        1
  49. #define iDecode        2
  50. #define iOpen        3
  51. #define iClose        4
  52. #define iPrefs      6
  53. #define iQuit        8
  54.  
  55. /* edit menu */
  56. #define iSelectAll    7
  57.  
  58. /* decode dialog items */
  59. #define iAdd        3
  60. #define iRemove        4
  61. #define iFileList    5
  62. #define iFileScroll    6
  63.  
  64. /* encode dialog items */
  65. #define iMaximum    9
  66. #define iSubject    10
  67. #define iDescfile    11
  68. #define iSplit        13
  69.  
  70. /* replace alert */
  71. #define iNewname    1
  72. #define iReplace    2
  73.  
  74. /* preferences dialog */
  75. #define iHost       3
  76. #define iAuto        6
  77. #define iData        7
  78. #define iSingle        8
  79. #define iDouble        9
  80. #define iTextEncode 10
  81.  
  82. /* decode status dialog */
  83. #define iStatus        2
  84.  
  85. /* mpack preferences */
  86. extern struct mpack_preferences {
  87.     short encoding;
  88.     short extract_text;
  89.     char internet_host[1];    /* C string */
  90. } **mpack_prefs;
  91.  
  92. /* encodings */
  93. #define EN_AUTO   0
  94. #define EN_DATA   1
  95. #define EN_DOUBLE 2
  96. #define EN_SINGLE 3
  97.  
  98. /* shared routines */
  99. FILE *Macopen(FILE *, Str255, short, long, short, short, SignedByte);
  100.  
  101. /* buffer for copy operations */
  102. #define COPY_BUFSIZE 1024
  103. extern char copy_buf[COPY_BUFSIZE];
  104.